﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChurchDiary.DAL.Contract;
using ChurchDiary.DAL.Methods;
using ChurchDiary.TableEntity;

namespace ChurchDiary.BLL
{
    public class BLL_OrganizationSettings
    {
        IOrganizationSettings OGS = new DAL_OrganizationSettings();
        public string OrganizationStructure()
        {
            return OGS.GetOrganizationStruture();
        }
        public string AddOrganizationStructure(OrganizationStructure organizationstructure)
        {
            return  OGS.InsertOrganizationStructure(organizationstructure);
        }
        public List<Departments> GetOrganizationDetails()
        {
            return OGS.GetDepartMents();
        }
    }
}
